<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html id="housewifes">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta name="robots" content="noodp,noydir">
    <meta name="description" content=" Housewifes - сервис для домохозяек.">
    <link rel="alternate" media="handheld" href="/">

    <link type="text/css" rel="stylesheet" href="css/main_hw.css">
    <link type="text/css" rel="stylesheet" href="css/header_hw.css">
    <link type="text/css" rel="stylesheet" href="css/menu_hw.css">
    <link type="text/css" rel="stylesheet" href="css/footer_hw.css">
    <link type="text/css" rel="stylesheet" href="../main/webapp/css/jcrousel/style.css">
    <link rel="stylesheet" type="text/css" href="../main/webapp/css/jcrousel/skins/tango/skin_ut_breaf.css"/>

    <script type="text/javascript" src="../main/webapp/script/jquery-1.4.2.js"></script>
    <script type="text/javascript" src="../main/webapp/script/jquery.jcarousel.js"></script>

</head>

<body>
<div id="globalContainer">
    <table border="0" width="100%" cellpadding="0" cellspacing="0">
        <tr>
            <td class="main_header_container gradientV2">
                <table class="main_header_table" align="center" cellpadding="0" cellspacing="0" border="0">
                    <tr>
                        <td class="header_left gradientV2">
                            <span class="header_logo_span">DомохоzЯйки</span>
                        </td>
                        <td class="header_center gradientV2">
                            <table border="0" cellpadding="0" cellspacing="0" style="height:16px">
                                <tr >
                                    <td>
                                        <input placeholder="Поиск" class="header_search_input">
                                    </td>
                                    <td>
                                         <span title="Поиск" class="header_search_spanbtn"></span>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td class="header_right gradientV2">
                            <span class="header_span"><a href="http://test.server.ru" class="header_link">помощь</a></span>
                            <span class="header_span"><a href="http://test.server.ru" class="header_link">выйти</a></span>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td height="600">
                <table class="main_container_table" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                        <td rowspan="2" class="main_menu_cell">
                            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                                        <a href="http://test.server.ru" class="menu_link">
                                            <div class="menu_item selected_menu_item">
                                                <span class="menu_icon_countainer">
                                                    <!--<i class="sp_9rf1fr sx_001"></i>-->
                                                    <i class="menu_icon_img_0"></i>
                                                </span>
                                                <span class="menu_title_conteiner">Главная</span>
                                            </div>
                                        </a>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <a href="http://test.server.ru" class="menu_link">
                                            <div class="menu_item">
                                                <span class="menu_icon_countainer">
                                                    <i class="menu_icon_img_1"></i>
                                                </span>
                                                <span class="menu_title_conteiner">Мои таблицы</span>
                                            </div>
                                        </a>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <a href="http://test.server.ru" class="menu_link">
                                            <div class="menu_item">
                                                <span class="menu_icon_countainer">
                                                    <i class="menu_icon_img_2"></i>
                                                </span>
                                                <span class="menu_title_conteiner">Мои рецепты</span>
                                            </div>
                                        </a>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <a href="http://test.server.ru" class="menu_link">
                                            <div class="menu_item">
                                                <span class="menu_icon_countainer">
                                                    <i class="menu_icon_img_3"></i>
                                                </span>
                                                <span class="menu_title_conteiner">Избранные рецепты</span>
                                            </div>
                                        </a>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <a href="http://test.server.ru" class="menu_link">
                                            <div class="menu_item">
                                                <span class="menu_icon_countainer">
                                                    <i class="menu_icon_img_4"></i>
                                                </span>
                                                <span class="menu_title_conteiner">Мои цены</span>
                                            </div>
                                        </a>
                                    </td>
                                </tr>
                            </table>
                            <br/>
                            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                                        <a href="http://test.server.ru" class="menu_link">
                                            <div class="menu_item">
                                                <span class="menu_icon_countainer">
                                                    <i class="menu_icon_img_5"></i>
                                                </span>
                                                <span class="menu_title_conteiner">Поиск таблиц</span>
                                            </div>
                                        </a>

                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <a href="http://test.server.ru" class="menu_link">
                                            <div class="menu_item">
                                                <span class="menu_icon_countainer">
                                                    <i class="menu_icon_img_6"></i>
                                                </span>
                                                <span class="menu_title_conteiner">Поиск рецептов</span>
                                            </div>
                                        </a>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <a href="http://test.server.ru" class="menu_link">
                                            <div class="menu_item">
                                                <span class="menu_icon_countainer">
                                                    <i class="menu_icon_img_7"></i>
                                                </span>
                                                <span class="menu_title_conteiner">Пойти в магазин</span>
                                            </div>
                                        </a>
                                    </td>
                                </tr>
                            </table>
                        </td>

                        <td class="main_content_cell">
                            <table width="100%"  border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td height="200" valign="top">
                                        <table width="100%" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td height="35" class="gradientV2">
                                                    <div class="block_header_title">
                                                        <a href="http://test.server.ru">My first menu(60 дней)</a>
                                                        -> День № 13
                                                    </div>
                                                </td>
                                                <td height="35" class="gradientV2" style="text-align:right;">
                                                    <div class="block_header_editbtn_container">
                                                        <a href="http://test.server.ru" class="uiButton">
                                                            <span class="uiButtonText">Редактировать</span>
                                                        </a>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>

                                        <table cellpadding="0" cellspacing="0" border="0" class="daymenu">
                                            <tr>
                                                <td class="title">трапезы</td>
                                                <td class="title">допольнительные товары</td>
                                            </tr>
                                            <tr>
                                                <td  class="eatingmenus">
                                                    <table cellspacing="0" cellpadding="0" border="0">
                                                        <tr>
                                                            <td class="em" colspan="2">
                                                                <span>завтрак</span>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="recipe">
                                                                <a href="http://test.server.ru"><span>яичница 1111111111111111111111111111111 2222222222222222222222 33333333333333333333333333</span></a>
                                                            </td>
                                                            <td width="80">
                                                                <table cellspacing="0" cellpadding="0" border="0">
                                                                    <tr>
                                                                        <td width="45">
                                                                            <span id="orig_value_holder_9005" class="hidden_id">151</span>
                                                                            <input type="text" value="151" class="receipes_count_inpt onlyNumbers" style="text-align: right"
                                                                                   onkeyup="onNumberInputKeyUp('9005', event)">
                                                                        </td>
                                                                        <td>
                                                                            <div id="save_btn_9005" class="save_receipes_count_btn" style="display: none">
                                                                                <span class="save_receipes_count_icon_countainer">
                                                                                    <i class="save_receipes_count_icon_img"></i>
                                                                                </span>
                                                                            </div>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="recipe">
                                                                <a href="http://test.server.ru"><span>кофе с молоком</span></a>
                                                            </td>
                                                            <td width="80">
                                                                <table cellspacing="0" cellpadding="0" border="0">
                                                                    <tr>
                                                                        <td width="45">
                                                                            <input type="text" value="15" class="receipes_count_inpt onlyNumbers">
                                                                        </td>
                                                                        <td>
                                                                            <div class="save_receipes_count_btn" style="display: block">
                                                                                <span class="save_receipes_count_icon_countainer">
                                                                                    <i class="save_receipes_count_icon_img"></i>
                                                                                </span>
                                                                            </div>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="em">
                                                                <span>обед</span>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="recipe">
                                                                <a href="http://test.server.ru"><span>щи маслом</span></a>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="recipe">
                                                                <a href="http://test.server.ru"><span>гречка с котлетой</span></a>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="em">
                                                                <span>ужин</span>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="recipe">
                                                                <a href="http://test.server.ru"><span>курица по французски</span></a>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="recipe">
                                                                <a href="http://test.server.ru"><span>компот</span></a>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                                <td class="dm_wares">
                                                    <table>
                                                        <tr>
                                                            <td class="dm_ware">
                                                                <span class="name">яйца</span>
                                                                (
                                                                <span class="region_price">37.40</span> /
                                                                <span class="users_price">40.00</span>
                                                                )
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="dm_ware">
                                                                <span class="name">фейри</span>
                                                                (
                                                                <span class="region_price">98.40</span> /
                                                                <span class="users_price price_not_set">нет цены</span>
                                                                )
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="dm_ware">
                                                                <span class="name">мороженное</span>
                                                                (
                                                                <span class="region_price price_not_set">нет цены</span> /
                                                                <span class="users_price">25.00</span>
                                                                )
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="dm_ware">
                                                                <span class="name">кока-кола</span>
                                                                (
                                                                <span class="region_price">47.40</span> /
                                                                <span class="users_price">50.00</span>
                                                                )
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td class="dm_ware">
                                                                <span class="name">шаурма</span>
                                                                (
                                                                <span class="region_price">160.00</span> /
                                                                <span class="users_price">120.00</span>
                                                                )
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                        </table>



                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td class="main_footer_cell">
                            <span class="footer_text_block">DомохоzЯйки © 2011-2012</span>
                            <span class="footer_text_block">&nbsp;&nbsp;&nbsp;</span>
                            <a href="http://test.server.ru" class="footer_link">о сайте</a>
                            <a href="http://test.server.ru" class="footer_link">помощь</a>
                            <a href="http://test.server.ru" class="footer_link">правила</a>
                            <a href="http://test.server.ru" class="footer_link">реклама</a>
                            <a href="http://test.server.ru" class="footer_link">реклама</a>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>

    </table>
</div>

</body>

<script type="text/javascript">

    $(document).ready(function(){

        $(".menu_item").each(function() {
            $(this).hover(
                    function() {
                        if (!$(this).hasClass("selected_menu_item")) {
                            $(this).addClass("menu_item_hover");
                        }
                    },
                    function(){
                        $(this).removeClass("menu_item_hover");
                    }
            );
        });
        $(".save_receipes_count_btn").each(function() {
            $(this).hover(
                    function() {
                        $(this).addClass("menu_item_hover");
                    },
                    function(){
                        $(this).removeClass("menu_item_hover");
                    }
            );
        });
        $(".active_daymenu").each(function() {
            $(this).hover(
                    function() {
                        $(this).addClass("active_daymenu_hover");
                    },
                    function(){
                        $(this).removeClass("active_daymenu_hover");
                    }
            );
        });
        $(".cur_active_daymenu").each(function() {
            $(this).hover(
                    function() {
                        $(this).addClass("active_daymenu_hover");
                    },
                    function(){
                        $(this).removeClass("active_daymenu_hover");
                    }
            );
        });

        jQuery('.usertable_breaf').show();

/*
        jQuery('.usertable_breaf').jcarousel({
            scroll: 1,
            start: 2
        });
*/

        jQuery('#mycarousel').jcarousel({
            scroll: 1,
            start: 2
        });
        jQuery('#mycarouse2').jcarousel({
            scroll: 1,
            start: 1
        });

/*
        setTimeout(function() {
            $("#globalContainer").show();
        }, 100);
*/

        $("input.onlyNumbers").keydown(function(event) {
            // Allow: backspace, delete, tab, escape, and enter
            if ( event.keyCode == 46 || event.keyCode == 8 || event.keyCode == 9 || event.keyCode == 27 || event.keyCode == 13 ||
                // Allow: Ctrl+A
                    (event.keyCode == 65 && event.ctrlKey === true) ||
                // Allow: home, end, left, right
                    (event.keyCode >= 35 && event.keyCode <= 39)) {
                // let it happen, don't do anything
                return;
            }
            else {
                // Ensure that it is a number and stop the keypress
                if (event.shiftKey || (event.keyCode < 48 || event.keyCode > 57) && (event.keyCode < 96 || event.keyCode > 105 )) {
                    event.preventDefault();
                }
            }
        });

    });

    function isNumberKey(event) {
        // Allow: backspace, delete, tab, escape, and enter
        if ( event.keyCode == 46 || event.keyCode == 8 || event.keyCode == 9 || event.keyCode == 27 || event.keyCode == 13 ||
            // Allow: Ctrl+A
                (event.keyCode == 65 && event.ctrlKey === true) ||
            // Allow: home, end, left, right
                (event.keyCode >= 35 && event.keyCode <= 39)) {
            // let it happen, don't do anything
            return;
        }
        else {
            // Ensure that it is a number and stop the keypress
            if (event.shiftKey || (event.keyCode < 48 || event.keyCode > 57) && (event.keyCode < 96 || event.keyCode > 105 )) {
                event.preventDefault();
            }
        }
    }

    function onNumberInputKeyUp(receipeId, event) {
        var origValue = $("#orig_value_holder_" + receipeId).text();
        if ($(event.currentTarget).val() != origValue) {
            $("#save_btn_" + receipeId).show();
        } else {
            $("#save_btn_" + receipeId).hide();
        }
    }

</script>

</html>